package com.enjoy.book.dao;

import com.enjoy.book.bean.User;
import com.enjoy.book.util.DBHelper;
import org.apache.commons.dbutils.handlers.BeanHandler;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * @author 陈俊威
 */
public interface UserDao {
    public User getUser(String name, String pwd) throws SQLException ;

    public int modifyPwd(long id, String pwd) throws SQLException ;
}
